package com.myccb.app.view.index;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.myccb.app.R;
import com.myccb.app.base.BaseActivity;
import com.myccb.app.widget.CommonToolBar;

/**
 * Created by DELL on 2017/12/27.
 */

public class Loannull extends BaseActivity {

    private CommonToolBar common_toolbar;
    private TextView loan_null_ues1;
    private TextView loan_null_ues2;
    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.loan_null);
        loan_null_ues1=findViewById(R.id.loan_null_use1);
        loan_null_ues2=findViewById(R.id.loan_null_use2);
        common_toolbar=findViewById(R.id.common_toolbar);
        Intent intent=getIntent();
        String title=intent.getStringExtra("title");
        String ues1=intent.getStringExtra("ues1");
        String ues2=intent.getStringExtra("ues2");
        loan_null_ues1.setText(ues1);
        loan_null_ues2.setText(ues2);
        common_toolbar.setTitle(title);
        CommonToolBar commonToolBar=findViewById(R.id.common_toolbar);
        commonToolBar.setOnLeftButtonClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

}
